package com.gimi.cloud.jimi.app.consumer.feign.userInfo;

import com.gimi.cloud.jimi.dto.params.OperatorParams;
import com.gimi.cloud.jimi.dto.params.RdTaobaoParams;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "jimi-app-service")
public interface TaobaoFeignService {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "info/taobao/create", method = RequestMethod.POST)
    String create(RdTaobaoParams params);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "info/taobao/valid", method = RequestMethod.POST)
    String valid(RdTaobaoParams params);
}
